/*
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.

Copyright (c) 2023-present Kaleidos INC
*/

/* PrismJS 1.29.0
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+c+csharp+cpp+diff+java+markup-templating+php+python+ruby+typescript */
code[class*="language-"],
pre[class*="language-"] {
  background: 0 0;
  color: rgba(255, 129, 157, 1);
  font-family: "Consolas", "Monaco", "Andale Mono", "Ubuntu Mono", monospace;
  /* stylelint-disable-next-line declaration-property-unit-allowed-list */
  font-size: 1em;
  hyphens: none;
  line-height: 1.5;
  tab-size: 4;
  text-align: start;
  text-shadow: none;
  white-space: pre;
  word-break: normal;
  word-spacing: normal;
  word-wrap: normal;
}

code {
  background-color: #dadfe9;
  border-radius: 3px;
  padding-block: 0.1rem;
  padding-inline: 0.2rem;
}

pre[class*="language-"] {
  margin-block: 0.5em;
  margin-inline: 0;
  overflow: auto;
  padding: 1em;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  background: rgba(23, 28, 36, 1);
}

:not(pre) > code[class*="language-"] {
  border-radius: 0.3em;
  padding: 0.1em;
  white-space: normal;
}

.token.block-comment,
.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
  color: rgba(190, 199, 216, 1);
}

.token.punctuation {
  color: rgba(255, 180, 155, 1);
}

.token.attr-name,
.token.deleted,
.token.namespace,
.token.tag {
  color: rgba(131, 238, 222, 1);
}

.token.function-name {
  color: rgba(124, 169, 245, 1);
}

.token.boolean,
.token.function,
.token.number {
  color: rgba(124, 169, 245, 1);
}

.token.class-name,
.token.builtin {
  color: rgba(249, 220, 161, 1);
}

.token.constant,
.token.property,
.token.symbol {
  color: rgba(255, 129, 157, 1);
}

.token.atrule,
.token.important,
.token.keyword,
.token.selector {
  color: rgba(216, 140, 234, 1);
}

.token.attr-value,
.token.char,
.token.regex,
.token.string,
.token.variable {
  color: rgba(224, 252, 189, 1);
}

.token.entity,
.token.operator,
.token.url {
  background: none;
  color: rgba(190, 199, 216, 1);
}

.token.bold,
.token.important {
  font-weight: 700;
}

.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

.token.inserted {
  /* stylelint-disable-next-line color-named */
  color: green;
}

/* Taiga team code: this is to prevent code overflow in the story side view */
/* stylelint-disable-next-line no-duplicate-selectors */
code[class*="language-"],
pre[class*="language-"] {
  white-space: break-spaces;
  word-break: break-word;
  word-spacing: normal;
  word-wrap: normal;
}
